
import { createApp } from 'vue'
import App from './App.vue'
import  'amfe-flexible'
//引入路由
import router from './router/index'
//1，引入Pinia
import { createPinia } from 'pinia'

var app = createApp(App)

//2，创建Pinia
const pinia = createPinia()
//3，使用Pinia
app.use(pinia)

//注册路由
app.use(router)

app.mount('#app')


